function showPopup1() {
    var popmenu1 = document.getElementsByClassName("popmenu1");
    for (var i = 0; i < popmenu1.length; i++) { //class类不能简单直接拿来判断，因为具有多个class，所以要加上数组才能判断。
        popmenu1[i].style.display = "block";
    }
}
function hidePopup1() {
    var popmenu1 = document.getElementsByClassName("popmenu1");
    for (var i = 0; i < popmenu1.length; i++) {
        popmenu1[i].style.display = "none";
    }
}

function showPopup2() {
    var popmenu2 = document.getElementsByClassName("popmenu2");
    for (var i = 0; i < popmenu2.length; i++) { //class类不能简单直接拿来判断，因为具有多个class，所以要加上数组才能判断。
        popmenu2[i].style.display = "block";
    }
}
function hidePopup2() {
    var popmenu2 = document.getElementsByClassName("popmenu2");
    for (var i = 0; i < popmenu2.length; i++) {
        popmenu2[i].style.display = "none";
    }
}

function showPopup3() {
    var popmenu3 = document.getElementsByClassName("popmenu3");
    for (var i = 0; i < popmenu3.length; i++) { //class类不能简单直接拿来判断，因为具有多个class，所以要加上数组才能判断。
        popmenu3[i].style.display = "block";
    }
}
function hidePopup3() {
    var popmenu3 = document.getElementsByClassName("popmenu3");
    for (var i = 0; i < popmenu3.length; i++) {
        popmenu3[i].style.display = "none";
    }
}